How to solve these coding challenges:


Challenge #1

my_str = 'wlo1 Link encap:Ethernet HWaddr b4:6d:83:77:85:f3'

Are you stuck? Do you want to see the solution to this exercise? Click here.


Challenge #2

It displayed: "You've got an error!"
\n means a new line.
\ is known as the escape character.

Are you stuck? Do you want to see the solution to this exercise? Click here.


Challenge #3

Are you stuck? Do you want to see the solution to this exercise? Click here.


Challenge #4

Are you stuck? Do you want to see the solution to this exercise? Click here.


Challenge #5

Are you stuck? Do you want to see the solution to this exercise? Click here.


Challenge #6

Sample String: 'Hello!'

Expected Result: 'Heo!'

Are you stuck? Do you want to see the solution to this exercise? Click here.


Challenge #7

Sample String: 'mama'

Expected Result: 'ma$a'

Are you stuck? Do you want to see the solution to this exercise? Click here.


Challenge #8

Are you stuck? Do you want to see the solution to this exercise? Click here.


Challenge #9

Are you stuck? Do you want to see the solution to this exercise? Click here.


Challenge #10

Are you stuck? Do you want to see the solution to this exercise? Click here.


Challenge #11

Are you stuck? Do you want to see the solution to this exercise? Click here.


Challenge #12

Sample input number: 1234567

Expected Result: 1,234,567 and 1.234.567

Read the f-strings documentation if needed: https://docs.python.org/3/reference/lexical_analysis.html#f-strings

Are you stuck? Do you want to see the solution to this exercise? Click here.